package com.dmgis.hndz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dmgis.hndz.pojo.SMSRecordManagement;
import com.dmgis.hndz.pojo.SendUnitManagement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SendUnitManagementMapper extends BaseMapper<SendUnitManagement> {

    /**
     * 新增
     *
     * @author pengdongdong
     * @date 2025-01-10
     **/
    int insertSendUnitManagement(SendUnitManagement sendUnitManagement);

    /**
     * 刪除
     *
     * @author pengdongdong
     * @date 2025-01-10
     **/
    int deleteSendUnitManagement(String[] ids);

    /**
     * 更新
     *
     * @author pengdongdong
     * @date 2025-01-10
     **/
    int updateSendUnitManagement(SendUnitManagement sendUnitManagement);

    /**
     * 根据新增编码查询单位名称
     *
     * @author pengdongdong
     * @date 2025-01-10
     **/
    String selectUnitNameByCode(String code);

    /**
     * 查询 分页查询
     *
     * @author pengdongdong
     * @date 2025-01-10
     **/
    List<SMSRecordManagement> selectSendUnitManagementList(SendUnitManagement sendUnitManagement);


}
